<template>
  <div class="cutPriceEnd">
    <img class="bg" src="http://img001.seefm.com.cn/image/bargain_share_end.png" alt="">
    <img class="goShop" src="@assets/images/cutPrice/goShop.png" alt="">
    <img class="btm" src="@assets/images/cutPrice/endBtm.png" alt="">
  </div>
</template>
<script>
export default {
  name: "cutPriceEnd",
  data() {
    return {
        from1:''
    };
  },
  components: {},
  methods: {
      goShop(){
        if (this.from1 == "app") {
            this.$router.push({
                path: "/goods_list/5070770?from1=" + this.from1,
            });
        } else {
            this.$router.push({
                path: "/goods_list/5070770",
            });
        }
      }
  },
  created() {
    if (this.$route.query.from1) {
      this.from1 = this.$route.query.from1;
    }
    //存下当前页面路径，登录以后回跳
    localStorage.cutUrl=window.location.href;
  },
  mounted(){
      
  },
  filters: {
  },
};
</script>
<style scoped lang="scss">
.cutPriceEnd{
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
    .bg{
        width: 100%;
    }
    .goShop{
        position: absolute;
        top: 11rem;
        left: .75rem;
        width: 6rem;
        margin: 0 auto;
        display: block;
        z-index: 1;
    }
    .btm{
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
    }
}
</style>
